package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import java.util.Date;


/**
 * 旧材料信息表（杆塔）
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-28 11:12:43
 */
@Entity
public class DMaterialOldEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	private String guid;
	//所属项目ID
	private String pGuid;
	//所属点位ID
	private String pPGuid;
	//关联材料信息库ID
	private String mMGuid;
	//材料大类
	private String mBBigtype;
	//设备标签
	private String dLabel;
	//材料中类
	private String mBMidtype;
	//材料名称
	private String mBName;
	//主要参数
	private String mBParameter;
	//购置单位
	private String mBUnit;
	//单重（kg）
	private Double mBWeight;
	//数量
	private Double mBCount;
	//处置意见  数据字典 opinion_type
	private String dROpinion;
	//拟拆除日期
	private Date dRRemovedate;
	// 处置去向 数据字典where_type
	private String dRWhere;
	//购置新材料guid
	private String mBGuid;
	//数据状态
	private String mBDatastate;
	//工作类型
	private String mBWork;


	@Generated(hash = 588199400)
	public DMaterialOldEntity(String guid, String pGuid, String pPGuid,
			String mMGuid, String mBBigtype, String dLabel, String mBMidtype,
			String mBName, String mBParameter, String mBUnit, Double mBWeight,
			Double mBCount, String dROpinion, Date dRRemovedate, String dRWhere,
			String mBGuid, String mBDatastate, String mBWork) {
		this.guid = guid;
		this.pGuid = pGuid;
		this.pPGuid = pPGuid;
		this.mMGuid = mMGuid;
		this.mBBigtype = mBBigtype;
		this.dLabel = dLabel;
		this.mBMidtype = mBMidtype;
		this.mBName = mBName;
		this.mBParameter = mBParameter;
		this.mBUnit = mBUnit;
		this.mBWeight = mBWeight;
		this.mBCount = mBCount;
		this.dROpinion = dROpinion;
		this.dRRemovedate = dRRemovedate;
		this.dRWhere = dRWhere;
		this.mBGuid = mBGuid;
		this.mBDatastate = mBDatastate;
		this.mBWork = mBWork;
	}
	@Generated(hash = 25355385)
	public DMaterialOldEntity() {
	}


	/**
	 * 设置：主键
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：主键
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：所属项目ID
	 */
	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}
	/**
	 * 获取：所属项目ID
	 */
	public String getPGuid() {
		return pGuid;
	}
	/**
	 * 设置：所属点位ID
	 */
	public void setPPGuid(String pPGuid) {
		this.pPGuid = pPGuid;
	}
	/**
	 * 获取：所属点位ID
	 */
	public String getPPGuid() {
		return pPGuid;
	}
	/**
	 * 设置：关联材料信息库ID
	 */
	public void setMMGuid(String mMGuid) {
		this.mMGuid = mMGuid;
	}
	/**
	 * 获取：关联材料信息库ID
	 */
	public String getMMGuid() {
		return mMGuid;
	}
	/**
	 * 设置：材料大类
	 */
	public void setMBBigtype(String mBBigtype) {
		this.mBBigtype = mBBigtype;
	}
	/**
	 * 获取：材料大类
	 */
	public String getMBBigtype() {
		return mBBigtype;
	}
	/**
	 * 设置：材料中类
	 */
	public void setMBMidtype(String mBMidtype) {
		this.mBMidtype = mBMidtype;
	}
	/**
	 * 获取：材料中类
	 */
	public String getMBMidtype() {
		return mBMidtype;
	}
	/**
	 * 设置：材料名称
	 */
	public void setMBName(String mBName) {
		this.mBName = mBName;
	}
	/**
	 * 获取：材料名称
	 */
	public String getMBName() {
		return mBName;
	}
	/**
	 * 设置：主要参数
	 */
	public void setMBParameter(String mBParameter) {
		this.mBParameter = mBParameter;
	}
	/**
	 * 获取：主要参数
	 */
	public String getMBParameter() {
		return mBParameter;
	}
	/**
	 * 设置：购置单位
	 */
	public void setMBUnit(String mBUnit) {
		this.mBUnit = mBUnit;
	}
	/**
	 * 获取：购置单位
	 */
	public String getMBUnit() {
		return mBUnit;
	}
	/**
	 * 设置：单重（kg）
	 */
	public void setMBWeight(Double mBWeight) {
		this.mBWeight = mBWeight;
	}
	/**
	 * 获取：单重（kg）
	 */
	public Double getMBWeight() {
		return mBWeight;
	}
	/**
	 * 设置：数量
	 */
	public void setMBCount(Double mBCount) {
		this.mBCount = mBCount;
	}
	/**
	 * 获取：数量
	 */
	public Double getMBCount() {
		return mBCount;
	}
	/**
	 * 设置：处置意见  数据字典 opinion_type
	 */
	public void setDROpinion(String dROpinion) {
		this.dROpinion = dROpinion;
	}
	/**
	 * 获取：处置意见  数据字典 opinion_type
	 */
	public String getDROpinion() {
		return dROpinion;
	}
	/**
	 * 设置：拟拆除日期
	 */
	public void setDRRemovedate(Date dRRemovedate) {
		this.dRRemovedate = dRRemovedate;
	}
	/**
	 * 获取：拟拆除日期
	 */
	public Date getDRRemovedate() {
		return dRRemovedate;
	}
	/**
	 * 设置： 处置去向 数据字典where_type
	 */
	public void setDRWhere(String dRWhere) {
		this.dRWhere = dRWhere;
	}
	/**
	 * 获取： 处置去向 数据字典where_type
	 */
	public String getDRWhere() {
		return dRWhere;
	}
	/**
	 * 设置：购置新材料guid
	 */
	public void setMBGuid(String mBGuid) {
		this.mBGuid = mBGuid;
	}
	/**
	 * 获取：购置新材料guid
	 */
	public String getMBGuid() {
		return mBGuid;
	}
	/**
	 * 设置：数据状态
	 */
	public void setMBDatastate(String mBDatastate) {
		this.mBDatastate = mBDatastate;
	}
	/**
	 * 获取：数据状态
	 */
	public String getMBDatastate() {
		return mBDatastate;
	}
	/**
	 * 设置：工作类型
	 */
	public void setMBWork(String mBWork) {
		this.mBWork = mBWork;
	}
	/**
	 * 获取：工作类型
	 */
	public String getMBWork() {
		return mBWork;
	}
	public String getDLabel() {
		return this.dLabel;
	}
	public void setDLabel(String dLabel) {
		this.dLabel = dLabel;
	}
}
